package com.goktech.olala.core.service;

import com.goktech.olala.core.req.ReqGoods;
import com.goktech.olala.core.resp.RespGoodsVo;

import java.util.List;

/**
 * @author sanming
 * @Description 商品查询的service
 * @Date 2020/12/11 15:47
 */
public interface IQueryGoodService {
    /**
     * 商品查询
     * @param goodsReq
     * @return
     * @throws Exception
     */
    List<RespGoodsVo> queryGoodsByParam(ReqGoods goodsReq) throws Exception;

    /**
     * 商品详情查询
     * @param goodsId
     * @return
     * @throws Exception
     */
    RespGoodsVo selectByPrimaryKey(String goodsId) throws Exception;
}
